<?php
/**
 * CSV model
 * @author Tuan Ngo
 */
class CSVModel
{
	public function getCSVData($year, $month){
		Zend_Loader::loadClass("PaymentHistoryModel");
		
		$year_month = "$year-$month";
		
		$model = new PaymentHistoryModel();
    	$list = $model->getListRecord("", $year_month, $year_month);
    	
    	return $list;
	}
}